//类型
var quotationType = new Array();
quotationType[0] = "类型1";
quotationType[1] = "类型2";
quotationType[2] = "类型3";

function getQuotationType(id)
{
	return quotationType[id];
}

function setQuotationType(selectId)
{
	for(var i = 0; i < quotationType.length; i++)
	{
		var newOp = $("<option value='"+i+"'>"+quotationType[i]+"</option>");
		$("#" + selectId).append(newOp);
	}
}

//报价方式
var quotedPriceway = new Array();
quotedPriceway[0] = "按承运商公布价折扣";
quotedPriceway[1] = "按承运商报价表";

function getQuotedPriceway(id)
{
	return quotedPriceway[id];
}

function setQuotedPriceway(selectId)
{
	for(var i = 0; i < quotedPriceway.length; i++)
	{
		var newOp = $("<option value='"+i+"'>"+quotedPriceway[i]+"</option>");
		$("#" + selectId).append(newOp);
	}
}